4.3 Consultar plano de pagamento pelo id
Request
Request
query PaymentPlan {
paymentPlan(id: 107) {
parcelQuantity
paymentPlanType
financialOwnerId
dependentId
companyId
costCenterId
financialIntegrationId
id
refId
externalId
creationDate
active
deleted
}
}
Params
Parâmetro | Tipo | Descrição |
---|---|---|
id | Int! | Id único do plano de pagamento |
Response
Response
{
"data": {
"paymentPlan": {
"parcelQuantity": null,
"paymentPlanType": "MONTHLY",
"financialOwnerId": 4,
"dependentId": 5,
"companyId": 1,
"costCenterId": 1,
"financialIntegrationId": 1,
"id": 107,
"refId": "e01b94a7-7775-4345-9f8c-6ce7e75dbf2b",
"externalId": null,
"creationDate": "2023-12-29T18:51:40.345Z",
"active": false,
"deleted": false
}
}
}
Result
Campo | Tipo | Descrição |
---|---|---|
paymentPlan | PaymentPlan | Dados do Plano de Pagamento |